package edu.hhu.controller;

import com.jfinal.core.Controller;

public class AdminController  extends Controller{
	public void login() {
		String username=this.getPara("adminusername");
		String password=this.getPara("adminpassword");
		System.out.println("后台管理:"+username+"||"+password);

		if(username.equals("admin")&password.equals("123456")){
			this.redirect("/admin/index.jsp");
		}else{
			this.redirect("/admin/login.jsp");
		}
	}
}
